import request from './request'

export function getTechStacks() {
  return request.get('/tech-stacks');
}

export function addTechStack(data) {
  return request.post('/tech-stacks', data);
}

export function updateTechStack(id, data) {
  return request.put(`/tech-stacks/${id}`, data);
}

export function deleteTechStack(id) {
  return request.delete(`/tech-stacks/${id}`);
}
